<template>
  <main>
    <RouterView v-slot="{ Component, route }">
      <template v-if="Component">
        <Suspense>
          <div class="w-screen h-screen">
            <component :is="Component" :key="route.fullPath" />
          </div>
        </Suspense>
      </template>
    </RouterView>
  </main>
</template>
